#pragma once
#include "afxwin.h"

class CNumEdit : public CEdit
{
    // Construction
public:
    CNumEdit();

    // Attributes
private:
    BOOL m_bret;
    // Operations
public:

    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CNumEdit)
public:
    virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
    virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
    //}}AFX_VIRTUAL

    // Implementation
public:
    virtual ~CNumEdit();

    // Generated message map functions
protected:
    //{{AFX_MSG(CNumEdit)
    afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg void OnKillfocus();
    afx_msg void OnDestroy();
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    //}}AFX_MSG

    DECLARE_MESSAGE_MAP()
};
